package com.feimaopian.mapper;

import com.feimaopian.entity.Article;
import com.feimaopian.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {
    public User findById(String user_id);
    public int addUser(User user);
    public int addComment(String user_id,String comment);

}
